package com.aracky.system.mapper;

import com.aracky.system.model.entity.SysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 用户和角色关联表 Mapper 接口
 * </p>
 *
 * @author zzp
 * @since 2022-07-15 02:05:32
 */
@Mapper
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {
    /**
     * 分配角色给用户
     * @param userRoleList
     * @return
     */
    public int batchUserRole(List<SysUserRole> userRoleList);
}
